package org.mozhu.mboot.admin.maintain.email.service;

import org.mozhu.mboot.admin.maintain.email.entity.EmailValidation;
import org.mozhu.mboot.core.data.IBaseService;

/**
 * 邮箱验证 - 业务层接口
 * 
 * @author ZhangPei
 */
public interface EmailValidationService extends IBaseService<EmailValidation, Long> {

	EmailValidation findByEmailAndType(String email, String type);

	EmailValidation findByCodeAndType(String code, String type);

	void sendVerifyCode(String email, String type);
}
